<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>PHP 7.1.x 中废弃的特性</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="migration71.incompatible.html">« 不向后兼容的变更</a></li>
      <li style="float: right;"><a href="migration71.changed-functions.html">变动的函数 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="migration71.html">从 PHP 7.0.x 移植到 PHP 7.1.x</a></li>
    <li>PHP 7.1.x 中废弃的特性</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="migration71.deprecated" class="sect1">
 <h2 class="title">PHP 7.1.x 中废弃的特性</h2>

 <div class="sect2" id="migration71.deprecated.ext-mcrypt">
  <h3 class="title">ext/mcrypt</h3>

  <p class="para">
   mcrypt 扩展已经过时了大约10年，并且用起来很复杂。因此它被废弃并且被 OpenSSL 所取代。
   从PHP 7.2起它将被从核心代码中移除并且移到PECL中。
  </p>
 </div>

 <div class="sect2" id="migration71.deprecated.eval-option-for-mb-ereg-replace">
  <h3 class="title"><span class="function"><a href="function.mb-ereg-replace.html" class="function">mb_ereg_replace()</a></span>和<span class="function"><a href="function.mb-eregi-replace.html" class="function">mb_eregi_replace()</a></span>的Eval选项</h3>

  <p class="para">
   对于<span class="function"><a href="function.mb-ereg-replace.html" class="function">mb_ereg_replace()</a></span>和<span class="function"><a href="function.mb-eregi-replace.html" class="function">mb_eregi_replace()</a></span>的
   <code class="literal">e</code>模式修饰符现在已被废弃。
  </p>
 </div>
</div></div></div></body></html>